package com.commit.domain;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author:zyh
 * @Time:2021-03-15-8:55
 * @email:1269231889@qq.com
 */
@Data
@ToString(exclude = {"toUserId","userId"})
public class Reply {
    private Integer replyId;
    private Integer answerId;
    private String content;
    private Integer userId;
    private Likes likes;
    private Date replyTime;

    public Reply(Integer answerId, String content, Integer userId,Date replyTime) {
        this.answerId = answerId;
        this.content = content;
        this.userId = userId;
        this.replyTime=replyTime;
    }
}
